<!doctype html>
<html class="no-js" lang="">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="x-ua-compatible" content="ie=edge">
        <title>server documentation</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
	      <link rel="stylesheet" href="../styles/style.css">
        <link rel="stylesheet" href="../styles/&#x27;Postmark&#x27;.css">
    </head>
    <body>

        <div class="navbar navbar-default navbar-fixed-top visible-xs">
            <a href="../" class="navbar-brand">server documentation</a>
            <button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
        </div>

        <div class="xs-menu menu" id="mobile-menu">
                <div id="book-search-input" role="search"><input type="text" placeholder="请输入查询关键字"></div>            <compodoc-menu></compodoc-menu>
        </div>

        <div class="container-fluid main">
           <div class="row main">
               <div class="hidden-xs menu">
                   <compodoc-menu mode="normal"></compodoc-menu>
               </div>
               <!-- START CONTENT -->
               <div class="content class">
                   <div class="content-data">











<ol class="breadcrumb">
  <li>类列表</li>
  <li>Feedback</li>
</ol>

<ul class="nav nav-tabs" role="tablist">
        <li class="active">
            <a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a>
        </li>
        <li >
            <a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a>
        </li>
</ul>

<div class="tab-content">
    <div class="tab-pane fade active in" id="c-info">
        <p class="comment">
            <h3>文件</h3>
        </p>
        <p class="comment">
            <code>libs/db/src/entity/feedback.entity.ts</code>
        </p>


            <p class="comment">
                <h3>继承</h3>
            </p>
            <p class="comment">
                        <code><a href="../classes/BaseEntity.html" target="_self" >BaseEntity</a></code>
            </p>



            <section>
    <h3 id="index">索引</h3>
    <table class="table table-sm table-bordered index-table">
        <tbody>
                <tr>
                    <td class="col-md-4">
                        <h6><b>属性列表</b></h6>
                    </td>
                </tr>
                <tr>
                    <td class="col-md-4">
                        <ul class="index-list">
                            <li>
                                <a href="#content">content</a>
                            </li>
                            <li>
                                <a href="#downMessage">downMessage</a>
                            </li>
                            <li>
                                    <span class="modifier">可选的</span>
                                <a href="#handler">handler</a>
                            </li>
                            <li>
                                <a href="#handlRes">handlRes</a>
                            </li>
                            <li>
                                    <span class="modifier">可选的</span>
                                <a href="#id">id</a>
                            </li>
                            <li>
                                <a href="#processed">processed</a>
                            </li>
                            <li>
                                <a href="#relatedDocuments">relatedDocuments</a>
                            </li>
                            <li>
                                <a href="#reseted">reseted</a>
                            </li>
                            <li>
                                <a href="#status">status</a>
                            </li>
                            <li>
                                <a href="#title">title</a>
                            </li>
                            <li>
                                <a href="#upMessage">upMessage</a>
                            </li>
                            <li>
                                <a href="#village">village</a>
                            </li>
                            <li>
                                <a href="#villager">villager</a>
                            </li>
                            <li>
                                    <span class="modifier">Public</span>
                                <a href="#createdAt">createdAt</a>
                            </li>
                            <li>
                                    <span class="modifier">Public</span>
                                <a href="#deleteAt">deleteAt</a>
                            </li>
                            <li>
                                    <span class="modifier">Public</span>
                                <a href="#updatedAt">updatedAt</a>
                            </li>
                        </ul>
                    </td>
                </tr>






        </tbody>
    </table>
</section>


            <section>
    
        <h3 id="inputs">
            属性列表
        </h3>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="content"></a>
                        <span class="name">
                            <b>
                            content</b>
                            <a href="#content"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: &#x27;反馈内容&#x27;, description: &#x27;反馈内容&#x27;, required: true})<br />@IsString({always: true})<br />@Column({type: &#x27;text&#x27;})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="77" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:77</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="downMessage"></a>
                        <span class="name">
                            <b>
                            downMessage</b>
                            <a href="#downMessage"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: &#x27;退回反馈附带信息&#x27;, description: &#x27;退回反馈附带信息&#x27;, required: false})<br />@IsString()<br />@IsOptional()<br />@Column({type: &#x27;char&#x27;, nullable: true, length: 255})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="179" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:179</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="handler"></a>
                        <span class="name">
                            <b>
                                <span class="modifier">可选的</span>
                            handler</b>
                            <a href="#handler"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="../classes/User.html" target="_self" >Number | User</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: 1, description: &#x27;反馈处理者&#x27;, required: false, type: Number})<br />@ManyToOne(undefined, undefined)<br />@JoinColumn()<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="126" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:126</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="handlRes"></a>
                        <span class="name">
                            <b>
                            handlRes</b>
                            <a href="#handlRes"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: &#x27;反馈处理结果&#x27;, description: &#x27;反馈处理结果&#x27;, required: false})<br />@IsString()<br />@IsOptional()<br />@Column({type: &#x27;text&#x27;, nullable: true})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="139" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:139</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="id"></a>
                        <span class="name">
                            <b>
                                <span class="modifier">可选的</span>
                            id</b>
                            <a href="#id"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({description: &#x27;反馈主键&#x27;, required: false})<br />@PrimaryGeneratedColumn()<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="23" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:23</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="processed"></a>
                        <span class="name">
                            <b>
                            processed</b>
                            <a href="#processed"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" target="_blank" >Boolean</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: false, description: &#x27;是否已处理&#x27;, required: false})<br />@IsBoolean()<br />@IsOptional()<br />@Column({default: false})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="116" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:116</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="relatedDocuments"></a>
                        <span class="name">
                            <b>
                            relatedDocuments</b>
                            <a href="#relatedDocuments"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="../classes/relatedDocuments.html" target="_self" >relatedDocuments</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: &#x27;附属文件&#x27;, description: &#x27;附属文件&#x27;, required: false})<br />@IsString({always: true})<br />@IsOptional({always: true})<br />@Column({type: &#x27;simple-json&#x27;, nullable: true})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="90" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:90</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="reseted"></a>
                        <span class="name">
                            <b>
                            reseted</b>
                            <a href="#reseted"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" target="_blank" >Boolean</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: false, description: &#x27;处理结果被重置&#x27;, required: false})<br />@IsBoolean()<br />@IsOptional()<br />@Column({default: false})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="151" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:151</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="status"></a>
                        <span class="name">
                            <b>
                            status</b>
                            <a href="#status"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="../classes/Feedback.html" target="_self" >FeedbackStatusEnum</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: 0, description: &#x27;反馈状态&#x27;, required: true})<br />@IsNumber()<br />@IsOptional()<br />@Column({type: &#x27;enum&#x27;, enum: FeedbackStatusEnum, default: undefined})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="104" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:104</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="title"></a>
                        <span class="name">
                            <b>
                            title</b>
                            <a href="#title"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: &#x27;反馈标题&#x27;, description: &#x27;反馈标题&#x27;, required: true})<br />@IsString({always: true})<br />@Column({type: &#x27;char&#x27;, length: 255})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="66" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:66</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="upMessage"></a>
                        <span class="name">
                            <b>
                            upMessage</b>
                            <a href="#upMessage"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: &#x27;向上级反馈附带信息&#x27;, description: &#x27;向上级反馈附带信息&#x27;, required: false})<br />@IsString()<br />@IsOptional()<br />@Column({type: &#x27;char&#x27;, nullable: true, length: 255})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="165" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:165</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="village"></a>
                        <span class="name">
                            <b>
                            village</b>
                            <a href="#village"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="../classes/Village.html" target="_self" >Number | Village</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: 1, description: &#x27;所属村&#x27;, required: true, oneOf: undefined})<br />@IsNumber({}, {always: true})<br />@ManyToOne(undefined, undefined, {eager: true})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="42" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:42</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="villager"></a>
                        <span class="name">
                            <b>
                            villager</b>
                            <a href="#villager"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="../classes/Villager.html" target="_self" >Villager</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @ApiProperty({example: 1, description: &#x27;村民&#x27;, required: true, type: Number})<br />@IsNumber({}, {always: true})<br />@ManyToOne(undefined, undefined, {eager: true})<br />
                            </code>
                        </td>
                    </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在 <a href="" data-line="54" class="link-to-prism">libs/db/src/entity/feedback.entity.ts:54</a></div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="createdAt"></a>
                        <span class="name">
                            <b>
                                <span class="modifier">Public</span>
                            createdAt</b>
                            <a href="#createdAt"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" target="_blank" >Date</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @CreateDateColumn({type: &#x27;timestamp&#x27;})<br />
                            </code>
                        </td>
                    </tr>
                            <tr>
                                <td class="col-md-4">
                                    <div class="io-line">继承自         <code><a href="../classes/BaseEntity.html" target="_self" >BaseEntity</a></code>
</div>
                                </td>
                            </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在         <code><a href="../classes/BaseEntity.html#source" target="_self" >BaseEntity:7</a></code>
</div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="deleteAt"></a>
                        <span class="name">
                            <b>
                                <span class="modifier">Public</span>
                            deleteAt</b>
                            <a href="#deleteAt"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" target="_blank" >Date</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @DeleteDateColumn({type: &#x27;timestamp&#x27;})<br />
                            </code>
                        </td>
                    </tr>
                            <tr>
                                <td class="col-md-4">
                                    <div class="io-line">继承自         <code><a href="../classes/BaseEntity.html" target="_self" >BaseEntity</a></code>
</div>
                                </td>
                            </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在         <code><a href="../classes/BaseEntity.html#source" target="_self" >BaseEntity:13</a></code>
</div>
                            </td>
                        </tr>


            </tbody>
        </table>
        <table class="table table-sm table-bordered">
            <tbody>
                <tr>
                    <td class="col-md-4">
                        <a name="updatedAt"></a>
                        <span class="name">
                            <b>
                                <span class="modifier">Public</span>
                            updatedAt</b>
                            <a href="#updatedAt"><span class="icon ion-ios-link"></span></a>
                        </span>
                    </td>
                </tr>
                    <tr>
                        <td class="col-md-4">
                            <i>类型 : </i>        <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" target="_blank" >Date</a></code>

                        </td>
                    </tr>
                    <tr>
                        <td class="col-md-4">
                            <b>装饰器列表 : </b>
                            <br />
                            <code>
                                @UpdateDateColumn({type: &#x27;timestamp&#x27;})<br />
                            </code>
                        </td>
                    </tr>
                            <tr>
                                <td class="col-md-4">
                                    <div class="io-line">继承自         <code><a href="../classes/BaseEntity.html" target="_self" >BaseEntity</a></code>
</div>
                                </td>
                            </tr>
                        <tr>
                            <td class="col-md-4">
                                    <div class="io-line">被定义在         <code><a href="../classes/BaseEntity.html#source" target="_self" >BaseEntity:10</a></code>
</div>
                            </td>
                        </tr>


            </tbody>
        </table>
</section>







    </div>


    <div class="tab-pane fade  tab-source-code" id="c-source">
        <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ApiExtraModels, ApiProperty, getSchemaPath } from &quot;@nestjs/swagger&quot;;
import { CrudValidationGroups } from &quot;@nestjsx/crud&quot;;
import { IsBoolean, IsNumber, IsOptional, IsString } from &quot;class-validator&quot;;
import { User } from &#x27;libs/db/entity/user.entity&#x27;;
import { Column, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn } from &quot;typeorm&quot;;
import { BaseEntity } from &quot;./base.entity&quot;;
import { FeedbackStatusEnum } from &#x27;./enum/feedback-status.enum&#x27;;
import { Village } from &quot;./village.entity&quot;;
import { Villager } from &quot;./villager.entity&quot;;
import { relatedDocuments } from &quot;./about/related-documents&quot;;

const { CREATE, UPDATE } &#x3D; CrudValidationGroups;


@Entity()
export class Feedback extends BaseEntity {

  @ApiProperty({
    description: &#x27;反馈主键&#x27;,
    required: false
  })
  @PrimaryGeneratedColumn()
  id ?: number;

  @ApiProperty({
    example: 1,
    description: &#x27;所属村&#x27;,
    required: true,
    oneOf: [
      {
        type: &#x27;Number&#x27;
      },
      {
        $ref: getSchemaPath(() &#x3D;&gt; Village)
      }
    ]
  })
  @IsNumber({}, { always: true })
  @ManyToOne(() &#x3D;&gt; Village, Village &#x3D;&gt; Village.feedback, {
    eager: true
  })
  village: Number | Village
  
  @ApiProperty({
    example: 1,
    description: &#x27;村民&#x27;,
    required: true,
    type: Number
  })
  @IsNumber({}, { always: true })
  @ManyToOne(() &#x3D;&gt; Villager, Villager &#x3D;&gt; Villager.feedback, {
    eager: true
  })
  villager: Villager

  @ApiProperty({
    example: &#x27;反馈标题&#x27;,
    description: &#x27;反馈标题&#x27;,
    required: true
  })
  @IsString({ always: true })
  @Column({
    type: &quot;char&quot;,
    length: 255,
  })
  title: string

  @ApiProperty({
    example: &#x27;反馈内容&#x27;,
    description: &#x27;反馈内容&#x27;,
    required: true
  })
  @IsString({ always: true })
  @Column({
    type: &quot;text&quot;
  })
  content: string

  @ApiProperty({
    example: &#x27;附属文件&#x27;,
    description: &#x27;附属文件&#x27;,
    required: false
  })
  @IsString({ always: true })
  @IsOptional({ always: true })
  @Column({
    type: &quot;simple-json&quot;,
    nullable: true,
  })
  relatedDocuments: relatedDocuments

  @ApiProperty({
    example: 0,
    description: &#x27;反馈状态&#x27;,
    required: true
  })
  @IsNumber()
  @IsOptional()
  @Column({
    type: &quot;enum&quot;,
    enum: FeedbackStatusEnum,
    default: FeedbackStatusEnum.village
  })
  status: FeedbackStatusEnum

  @ApiProperty({
    example: false,
    description: &#x27;是否已处理&#x27;,
    required: false
  })
  @IsBoolean()
  @IsOptional()
  @Column({
    default: false
  })
  processed: Boolean

  @ApiProperty({
    example: 1,
    description: &#x27;反馈处理者&#x27;,
    required: false,
    type: Number
  })
  @ManyToOne(() &#x3D;&gt; User, User &#x3D;&gt; User.feedbacks)
  @JoinColumn()
  handler ?: Number | User

  @ApiProperty({
    example: &#x27;反馈处理结果&#x27;,
    description: &#x27;反馈处理结果&#x27;,
    required: false
  })
  @IsString()
  @IsOptional()
  @Column({
    type: &quot;text&quot;,
    nullable: true,
  })
  handlRes: string

  @ApiProperty({
    example: false,
    description: &#x27;处理结果被重置&#x27;,
    required: false
  })
  @IsBoolean()
  @IsOptional()
  @Column({
    default: false
  })
  reseted: Boolean

  @ApiProperty({
    example: &#x27;向上级反馈附带信息&#x27;,
    description: &#x27;向上级反馈附带信息&#x27;,
    required: false
  })
  @IsString()
  @IsOptional()
  @Column({
    type: &quot;char&quot;,
    nullable: true,
    length: 255
  })
  upMessage: string

  @ApiProperty({
    example: &#x27;退回反馈附带信息&#x27;,
    description: &#x27;退回反馈附带信息&#x27;,
    required: false
  })
  @IsString()
  @IsOptional()
  @Column({
    type: &quot;char&quot;,
    nullable: true,
    length: 255
  })
  downMessage: string
}</code></pre>
    </div>
</div>



                   




                   </div><div class="search-results">
    <div class="has-results">
        <h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
        <ul class="search-results-list"></ul>
    </div>
    <div class="no-results">
        <h1 class="search-results-title">无匹配的结果 "<span class='search-query'></span>"</h1>
    </div>
</div>
</div>
               <!-- END CONTENT -->
           </div>
       </div>

       <script>
            var COMPODOC_CURRENT_PAGE_DEPTH = 1;
            var COMPODOC_CURRENT_PAGE_CONTEXT = 'class';
            var COMPODOC_CURRENT_PAGE_URL = 'Feedback.html';
            var MAX_SEARCH_RESULTS = 15;
       </script>

       <script src="../js/libs/custom-elements.min.js"></script>
       <script src="../js/libs/lit-html.js"></script>
       <!-- Required to polyfill modern browsers as code is ES5 for IE... -->
       <script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
       <script src="../js/menu-wc.js" defer></script>

       <script src="../js/libs/bootstrap-native.js"></script>

       <script src="../js/libs/es6-shim.min.js"></script>
       <script src="../js/libs/EventDispatcher.js"></script>
       <script src="../js/libs/promise.min.js"></script>
       <script src="../js/libs/zepto.min.js"></script>

       <script src="../js/compodoc.js"></script>

       <script src="../js/tabs.js"></script>
       <script src="../js/menu.js"></script>
       <script src="../js/libs/clipboard.min.js"></script>
       <script src="../js/libs/prism.js"></script>
       <script src="../js/sourceCode.js"></script>
          <script src="../js/search/search.js"></script>
          <script src="../js/search/lunr.min.js"></script>
          <script src="../js/search/search-lunr.js"></script>
          <script src="../js/search/search_index.js"></script>
       <script src="../js/lazy-load-graphs.js"></script>


    </body>
</html>
